/*    */ package com.qmsk.business.task.shareDiscuss.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import java.sql.SQLException;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ import org.springframework.stereotype.Repository;
/*    */ 
/*    */ @Repository
/*    */ public class ShareDiscussDao extends SupportDAO
/*    */ {
/*    */   public Integer checkExistByOpenId(String openId, String url, Long shopId, String ip)
/*    */     throws SQLException
/*    */   {
/* 15 */     Map params = new HashMap();
/* 16 */     params.put("url", url);
/* 17 */     params.put("openId", openId);
/* 18 */     params.put("ip", ip);
/* 19 */     params.put("shopId", shopId);
/* 20 */     return queryForInt("checkExistByOpenId", params, Integer.valueOf(0));
/*    */   }
/*    */ 
/*    */   public int isBlackMeber(Long memberId) throws SQLException {
/* 24 */     Map params = new HashMap();
/* 25 */     params.put("memberId", memberId);
/* 26 */     return queryForInt("isBlackMeber", params, Integer.valueOf(0)).intValue();
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.task.shareDiscuss.dao.ShareDiscussDao
 * JD-Core Version:    0.5.3
 */